<!DOCTYPE HTML><html>
<head>
<? echo $h->meta($title, $kwd, $dpn); ?>
<? require_once("lib.php"); ?>
</head>
<body id="">
<? include_once("header.php"); ?>
<div id="wrap">
	<div class="breadcrumb">
		<a href="./"><?=WEB_INDEX_PAGE?></a> &gt; <a href="helps.html"><?=WEB_HELP_CENTER?></a> &gt; <a href="helps-<?=$cateid?>.html"><?=$cate_name?></a>
			<? if($id>0 ){ ?> &gt; <span><?=$title?></span><? } ?>
	</div><!--breadcrumb end-->
	<div id="" class="w180 left">
		<div class="help_menu">
			<ul class="help_menu_ul">
				<? 
					$str='';
					foreach($arr_cate as $val){
						$str.='<li class="title"><a href="helps-'.$val['id'].'.html">'.$val['name_'.$lang].'</a></li><li class="lace"></li>';
						foreach($val['menu'] as $row){
							$str.='<li class="item"><a href="help-'.$row['id'].'.html">'.$row['name_'.$lang].'</a></li>';
						}
						$str.='<li class="lace"></li>';
					}
						echo $str;
				 ?>
				 <li class="title"><a href="faq.html"><?=WEB_FAQ?></a></li>
				 <?
				 	$str='<li class="lace"></li>';
				 	foreach($arr_faq_cate as $val){
				 		$str.='<li class="item"><a href="faq.html#c'.$val['id'].'">'.$val['name_'.$lang].'</a></li>';
				 	}
				 	$str.='<li class="lace"></li>';
				 	echo $str;
				 ?>
			</ul>
		</div>
	
	</div><!--. w220-->
		<div id="" class="right w760">
			<? if($id==0){ ?>
			<div class="">
				<div class="h2news">
					<h2><?=$cate_name?></h2>
				</div>
				<ul class="news">
					<?
						$str=''; $k=0;
						foreach ($info as $val) {
							$str.='<li><a href="help-'.$val['id'].'.html">'.$val['name_'.$lang].'</a></li>';
							$k++;
						}
						echo $str;
					?>
				</ul>
				<div class="clear"></div>
			</div><!--.-->
			<? } else { ?>
			<div class="news_wrap">
				<h1 class="h1news tcenter"><?=$info['name_'.$lang]?></h1>
				<div class="content"><?=$info['content_'.$lang]?></div>
				<div class="prev_next">
					<? 
						if(! is_numeric($right)) echo WEB_PREVIOUS_CHAPTER.': <a href="help-'.$right['id'].'.html">'.$right['name_'.$lang].'</a><br />';
						if(! is_numeric($left)) echo WEB_NEXT_CHAPTER.': <a href="help-'.$left['id'].'.html">'.$left['name_'.$lang].'</a><br />';
					 ?>
				</div>
				</div>

			<? } ?>
	</div><!--# featured_and_ad_right-->

		<div class="clear"></div>
	<div class="px20"></div>
	<div class="clear"></div>
</div>
<? include("footer.php"); ?>
</body>
</html>